/**
 * Created by dllo on 18/4/3.
 */
public class Question01 {
    public static void main(String[] args) {
        Airplane a = new Airplane();
        a.country = "美国";
        a.hour = 10.5f;
        a.fly();
        System.out.println();

        Swimmer b = new Swimmer();
        b.length = 1000;
        b.stroke = "蝶泳";
        b.swim();
        System.out.println();

        Blackboard c = new Blackboard();
        c.width = 2.5f;
        c.length = 1.2f;
        c.produce();
        System.out.println();

        Book d = new Book();
        d.quantity = 3;
        d.subject = "物理";
        d.borrow();
        System.out.println();


    }
}
